import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export default new Vuex.Store({
	state: {
		detailTitle: '首页',
	},
	mutations: {
		handleChangeTitle(state, e) {
			state.detailTitle = e;
		},
	},
	actions: {
		handleChangeTitle(state, e) {
			state.commit('handleChangeTitle', e);
		},
	},
	modules: {},
});
